<template>
	<view class="ufl u-col-center" style="height: 60vh; background-color: #ffffff;">
		<view class="" style="width: 400rpx; height: 200rpx; background-color: #ffffff;">
		<view class="u-text-center" style="height: 50%; width: 100%; ">
			<text class="datefont-1" space="nbsp">{{day}}{{' '}}</text>
			<text class="datefont-2" space="nbsp">{{monthEng}}.{{' '}}{{year}}</text>
		</view>
		</view>
		<view class="u-font-18 u-text-center u-col-center" style="width: 600rpx; height: 300rpx; background-color: #ffffff; margin-top: 80rpx;">
		{{juzi[day%10].data1}}
		</view>
		<view class="u-font-18 u-text-center u-col-center" style="width: 600rpx; height: 300rpx; background-color: #ffffff; margin-top: 80rpx;">
		{{juzi[day%10].data2}}
		</view>
		<!-- <text class="juzi">lalalala</text> -->
		
	</view>
</template>

<script>
	export default {
		name:"y-ju",
		data() {
			return {
				year:new Date().getFullYear(),
				monthEng:"Jan",
				day:new Date().getDate(),
				juzi:[
					{
					data1:"A contented mind is the greatest blessing a man can enjoy in this world.",
					data2:"知足是人生在世最大的幸事。"
					},
					{
					data1:"If you wish to succeed, you should use persistence as your good friend,experience as your reference, prudence as your brother and hope as your sentry.",
					data2:"如果你希望成功，当以恒心为良友，以经验为参谋，以谨慎为兄弟，以希望为哨兵。"
					},
					{
					data1:"Health is certainly more valuable than money,because it is by health that money is procured.",
					data2:"健康当然比金钱更为重要，因为我们所赖以获得金钱的就是健康。"
					},
					{
					data1:"That man is the richest whose pleasure are the cheapest.",
					data2:"能处处寻求快乐的人才是最富有的人。"
					},
					{
					data1:"Sometimes one pays most for the things one gets for nothing.",
					data2:"有时候一个人为不花钱得到的东西付出的代价最高。"
					},
					{
					data1:"Don't hurry, don't worry You're only here for a short visit So be sure to stop and smell the flowers.",
					data2:"不要匆忙，不要烦恼。你只是在这短站作客而已，所以务必要停下来闻闻鲜花的芳香。"
					},
					{
					data1:"A little consideration, a little thought for others, makes all the difference.",
					data2:"多体谅一下别人，多为别人考虑一点，那将让一切截然不同。"
					},
					{
					data1:"Life is fine and enjoyable, yet you must learn to enjoy your fine life.",
					data2:"人生是美好的，但要学会如何享用美好的生活。"
					},
					{
					data1:"The world is like a mirror: Frown at itand it frowns at you; smile, and it smiles too.",
					data2:"世界犹如一面镜子:朝它皱眉它就朝你皱眉，朝它微笑它也吵你微笑。"
					},
					{
					data1:"Some birds are not meant to be caged, and each of their feathers shines with freedom.",
					data2:"有些鸟儿注定是关不住的, 它们的每一片羽毛都闪耀自由的光辉"
					},
				],
				data1:"",
				data2:""
				
			};
		},
	
	}
</script>

<style lang="scss">

.ufl{
	display: flex;
	flex-direction: column;
	align-items: center;
}

.datefont-1{
	font-size: 60rpx;
	color: #000000;
	font-family: "times";
}
.datefont-2{
	font-size: 30rpx;
	color: #606266;
	font-weight: initial;
}
</style>
